home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Games #12
/
GEGA012.iso
/
Jogos de Azar
/
3card_poker.swf
/
scripts
/
DefineSprite_166
/
frame_16
/
DoAction.as
Wrap
Text File
|
2006-01-17
|
2KB
|
103 lines
set("_level0/:creditsPlayed","0");
set("_level0/:creditsPlayedan","0");
set("_level0/:creditsPlayedpp","0");
set("_level0/:creditsPlayedpl","0");
set("_level0/:fold","0");
removeMovieClip("_level0/cr1");
removeMovieClip("_level0/dr1");
set("_level0/:betMover","1");
set("_level0/:dealplay","1");
set("_level0/:BoDeal","0");
set("../:creditsPlayed","0");
set("../:OnMax","0");
set("../:Total",eval("../:Credits"));
WinnerLevel = "0";
AnteLevel = "0";
AnteLevel2 = "0";
dpair = "0";
push = "0";
ppair = "0";
youwon = "";
youwonpp = "";
youwonpl = "";
youwonan = "";
done3 = "0";
done4 = "0";
done5 = "0";
whatdealhand = "";
whatplayerhand = "";
set("../:hsdplay","0");
tellTarget("_level0/betonme")
{
gotoAndStop(1);
}
tellTarget("_level0/b-hit")
{
gotoAndStop(2);
}
tellTarget("_level0/b-stand")
{
gotoAndStop(2);
}
tellTarget("_level0/b-deal")
{
gotoAndStop(2);
}
tellTarget("typeplay")
{
gotoAndStop(1);
}
tellTarget("typedeal")
{
gotoAndStop(1);
}
gotoAndStop(1);
set("_level0/:chipRow","0");
set("_level0/:tochipRow","0");
qd2 = eval("_level0/:qd");
while(qd2 >= "2")
{
removeMovieClip("_level0/cr" add qd2);
removeMovieClip("_level0/dr" add qd2);
removeMovieClip("_level0/er" add qd2);
removeMovieClip("_level0/fr" add qd2);
removeMovieClip("_level0/gr" add qd2);
qd2 -= "2";
}
setProperty("_level0/cr1", _Y, "452.5");
setProperty("_level0/cr1", _X, "245.1");
setProperty("_level0/dr1", _Y, "452.5");
setProperty("_level0/dr1", _X, "286.1");
setProperty("_level0/er1", _Y, "452.5");
setProperty("_level0/er1", _X, "328.1");
setProperty("_level0/fr1", _Y, "452.5");
setProperty("_level0/fr1", _X, "370.1");
setProperty("_level0/gr1", _Y, "452.5");
setProperty("_level0/gr1", _X, "410.1");
tellTarget("_level0/cr1")
{
gotoAndStop(1);
}
tellTarget("_level0/dr1")
{
gotoAndStop(1);
}
tellTarget("_level0/er1")
{
gotoAndStop(1);
}
tellTarget("_level0/fr1")
{
gotoAndStop(1);
}
tellTarget("_level0/gr1")
{
gotoAndStop(1);
}
set("_level0/:qd","1");
set("_level0/:j","1");
set("_level0/:k","1");
set("_level0/:l","1");
set("_level0/:m","1");
set("_level0/:n","1");